<style>
.ben-left{float:left}

.ben-right{float:right}

.clearer{clear:both;font-size:0;height:0;}

.head-content {font-size:0.8em;padding:3px;}

.head-content b{font-size:1.2em}

.section{padding:3px;border:1px solid #ccc;}

.table-content{border:1px solid #bbb;border-collapse:collapse;}

.table-content th {background-color:#ddd; text-align:center}

.table-content td, .table-content th{border:1px solid #bbb;padding:3px}

.section-title {text-align:center}
.section-title h3{margin:5px 0px;padding:4px 2px;font-size:1.8em;}

.info-content{padding:5px 0px;}

.info-content label{font-weight:bold;}

.info-content p{margin:3px;border-bottom:1px dotted #222}

</style>
<?php include(DIR_TEMPLATE."common/definefone.tpl");?>
<div class="head-content">
    	
    <div class="ben-left">
<b>TAI SRENG CONSTRUCTION MATERIAL SUPPLIER</b><br />
<?php echo $this->document->text['text_address']?>: 125/12 Alexanderose, Phnomphend, Campodia<br />
Tel: 011 75 19 19 - 016 6 7777 2 - 0236 683 168<br />
Email: info@tesreng.com - Website: www.tesreng.com
    </div>
    <div class="ben-right"><img src="<?php echo DIR_IMAGE?>logo.gif" /></div>
    <div class="clearer">&nbsp;</div>
</div>
    
    
	<div class="section-title">
    	<h3>Services</h3>
    </div>
    
    <div class="section-content">
            <div class="sitemap treeindex">
<?php
	foreach($sitemaps as $ite)
    {
?>
            	<h3><?php echo $ite['prefix']?><?php echo $ite['sitemapname']?></h3>
                <table class="table-content" width="100%">
                    <thead>
                       
                        
                        <th width="45%">Service name</th>
                        <th width="20%" align="right"><?php echo $this->document->text['text_price']?></th>
                        
                        <th width="10%" align="left"><?php echo $this->document->text['text_unit']?></th>
                        
                    </thead>
                    
                    <tbody>
                        <?php
                        $filter = $this->string->array_Filter($medias,"refersitemap",$ite['sitemapid']);
                        foreach($filter as $media) 
                        {?>
                        <tr>
                            
                            <td><b><?php echo $media['title']?></b>&nbsp;</td>
                            <td align="right"><?php echo $this->string->numberFormate($media['price'])?>&nbsp;</td>
                            
                            <td><?php echo $media['unit']?>&nbsp;</td>
                            
                        </tr>
                        <?php } ?>
                    </tbody>
            
            	</table>

<?php
    }
?>
            </div>
    </div>
    
<script language="javascript">
	window.print();
</script>